<template>
  <div>
    <h2>父组件</h2>
    <Child1 />
    <Child2 />
  </div>
</template>

<script>
import Child1 from "./Child1";
import Child2 from "./Child2";

export default {
  name: "Parent-component",
  components:{
    Child1,
    Child2
  },
}
</script>

<style scoped>

</style>